#pragma once


// CHyperLinkStatic

class CHyperLinkStatic : public CStatic
{
	DECLARE_DYNAMIC(CHyperLinkStatic)

public:
	CHyperLinkStatic();
	virtual ~CHyperLinkStatic();

	void SetURL(CString strURL);
	CString GetURL() const;

	int GotoURL(LPCTSTR url, int showcmd);

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	CString  m_strURL;                  // Hyperlink URL string
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
};


